import { GridBox, Button, Slider,TextEdit,ListView,CheckBox} from "std-widgets.slint";
import { ScrollView } from "std-widgets.slint";
import { App } from "app.slint";

export component DayDialog inherits Dialog {

       title :"弹出对话框";
 
}
export component MainWindow inherits Window {
    callback clicked(string);
    callback preMonth();
    callback nextMonth();
    title: "日历记录本";
    width: 1660px;
    height: 680px;
    in-out property <[[{day: string, color: string}]]> day_items: [];
    App {
        day_items: root.day_items;
        clicked => {
            root.clicked("A");
        }
        preMonth => {
            root.preMonth();
        }
        nextMonth => {
            root.nextMonth();
        }
    }
}
